package game.ability;

import game.particles.Particle_1;

import com.badlogic.gdx.graphics.g2d.SpriteBatch;

public class AbilityFireUp extends AbsAbility{

	Particle_1 fireUp;
	
	public AbilityFireUp(int id) {
		super(id);
		fireUp = new Particle_1("res/particles/partical_fire/fire_2", "res/particles/partical_fire");
        fireUp.setPosition(200, 200);
	}

	@Override
	public void render(SpriteBatch sb) {
		fireUp.render(sb);
		super.render(sb);
	}

	@Override
	public void update() {
		// TODO Auto-generated method stub
		super.update();
	}
	
	@Override
	public void action() {
		fireUp.start();
		super.action();
	}
	
	public void setPosition(int x, int y){
		fireUp.setPosition(x, y);
	}
}
